.class Lcom/teewoo/app/bus/ui/js/JSInterface$1;
.super Ljava/lang/Object;
.source "JSInterface.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/js/JSInterface;->showOverlay()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/js/JSInterface;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/js/JSInterface;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/js/JSInterface$1;->this$0:Lcom/teewoo/app/bus/ui/js/JSInterface;

    .line 62
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 66
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/js/JSInterface$1;->this$0:Lcom/teewoo/app/bus/ui/js/JSInterface;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/js/JSInterface;->access$0(Lcom/teewoo/app/bus/ui/js/JSInterface;)Landroid/webkit/WebView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "javascript:initialize(\'"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/js/JSInterface$1;->this$0:Lcom/teewoo/app/bus/ui/js/JSInterface;

    invoke-virtual {v2}, Lcom/teewoo/app/bus/ui/js/JSInterface;->getGpsLocation()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\',\'"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/js/JSInterface$1;->this$0:Lcom/teewoo/app/bus/ui/js/JSInterface;

    invoke-virtual {v2}, Lcom/teewoo/app/bus/ui/js/JSInterface;->getNearByStation()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\')"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 67
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/js/JSInterface$1;->this$0:Lcom/teewoo/app/bus/ui/js/JSInterface;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/js/JSInterface;->access$1(Lcom/teewoo/app/bus/ui/js/JSInterface;Z)V

    .line 68
    return-void
.end method
